import request from '@/utils/request'

// 查询班级课程解锁记录列表
export function listClassessendstudent(data) {
  return request({
    url: '/school/classessendstudent/list',
    method: 'post',
    data: data
  })
}

// 查询班级课程解锁记录详细
export function getClassessendstudent(id) {
  return request({
    url: '/school/classessendstudent/' + id,
    method: 'get'
  })
}

// 新增班级课程解锁记录
export function addClassessendstudent(data) {
  return request({
    url: '/school/classessendstudent/add',
    method: 'post',
    data: data
  })
}

// 修改班级课程解锁记录
export function updateClassessendstudent(data) {
  return request({
    url: '/school/classessendstudent/edit',
    method: 'post',
    data: data
  })
}

// 删除班级课程解锁记录
export function delClassessendstudent(id) {
  return request({
    url: '/school/classessendstudent/remove/' + id,
    method: 'post'
  })
}
